colorscale: Redraw correct widget after setting rgba
authorTimm Bäder <mail@baedert.org>
Wed, 16 Jan 2019 18:20:53 +0000 (19:20 +0100)
committerTimm Bäder <mail@baedert.org>
Wed, 16 Jan 2019 18:20:53 +0000 (19:20 +0100)
commit9b15c6900a4d3b6bfa89611754317ee7402e9de6
tree29278b1b5cde92199ecbac46040df0aef647a116
parent135cf16969420d9182a2cd4c368e249ebf4b8b44
colorscale: Redraw correct widget after setting rgba

The entire color scale hack is still done in GtkRange, which draws the
color scale in the range gizmo. So, to correctly redraw the color scale
when setting a new color, we need to redraw the proper widget and that's
the trough widget.

Fixes #1453
gtk/gtkcolorscale.c
gtk/gtkrange.c
gtk/gtkrangeprivate.h